public class ComponentLeaves extends Component{

    public ComponentLeaves(String nameComponent){
        super(nameComponent);
    }
    @Override
    public boolean addChild(Component child) {
        return false;
    }

    @Override
    public void operation() {
        System.out.println("后勤部组员："+getNameComponent());

    }
}
